package java_1_10.interface_test;

public class Test {
    public static void main(String[] args) {
        IMessage message=new MessageImpl();//创建一个子类
        System.out.println(message.msg());
        INews news=new MessageImpl();//强转
        news.getNews();

    }
}
